package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type OrgTypeAdminController struct {
	auto.OrgTypeController
}

func init() {
	web.Router(conf.UrlPrefix + "/OrgType/:id", 		&OrgTypeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/OrgType/info", 		&OrgTypeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/OrgType/scan", 		&OrgTypeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/OrgType/list", 	    &OrgTypeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/OrgType/update", 	&OrgTypeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/OrgType/create", 	&OrgTypeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/OrgType/copy", 	    &OrgTypeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/OrgType/edit", 	    &OrgTypeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/OrgType/delete", 	&OrgTypeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/OrgType/:id/:field", &OrgTypeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/OrgType/choice", &OrgTypeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/OrgType/category", &OrgTypeAdminController{}, "*:CategoryAction")
}
//func (this *OrgTypeAdminController) Prepare() {}
//func (this *OrgTypeAdminController) ListAction() {}
//func (this *OrgTypeAdminController) GetAction() {}
//func (this *OrgTypeAdminController) InfoAction() {}
//func (this *OrgTypeAdminController) ScanAction() {}
//func (this *OrgTypeAdminController) CreateAction() {}
//func (this *OrgTypeAdminController) UpdateAction() {}
//func (this *OrgTypeAdminController) CopyAction() {}
//func (this *OrgTypeAdminController) DeleteAction() {}
//func (this *OrgTypeAdminController) EditAction() {}
//func (this *OrgTypeAdminController) SonsAction() {}
//func (this *OrgTypeAdminController) ChoiceAction() {}
//func (this *OrgTypeAdminController) CategoryAction() {}
